<?php
$this->pageTitle = "View  Team";

$this->menu = array(
    array('label' => Yii::t('app', 'Create') . ' ' . $model->label(), 'url' => array('create')),
    array('label' => Yii::t('app', 'Update') . ' ' . $model->label(), 'url' => array('update', 'id' => $model->id)),
    array('label' => Yii::t('app', 'Manage') . ' ' . $model->label(2), 'url' => array('admin')),
);
?>

<h3><?php echo Yii::t('app', 'View Team'); ?></h3>

<?php
$this->widget('zii.widgets.CDetailView', array(
    'data' => $model,
    'attributes' => array(
        'member_name',
        'member_designating',
        'about_member',
        array
            (
            'name' => 'photo',
            'type' => 'image',
            'htmlOptions' => array('class' => 'gridmaxwidth', 'style' => 'width: 15px !important'),
            'value' => baseUrl().'../../'.getUploadDir() . 'skill-team/' . $model->photo,
        ),
    ),
));
?>

